const express = require("express");
const welfareGoodsRouter = express.Router();
const { verifyToken } = require("../jsonwebtoken/index");

const {
  GetWelfareGoodsList,
} = require("../API/WelfareGoods/GetWelfareGoodsList");
const {
  PostChangeWelfareGoods,
} = require("../API/WelfareGoods/PostChangeWelfareGoods");

welfareGoodsRouter.post("/GetWelfareGoodsList", GetWelfareGoodsList);
welfareGoodsRouter.post(
  "/PostChangeWelfareGoods",
  verifyToken,
  PostChangeWelfareGoods
);

module.exports = welfareGoodsRouter;
